<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>


<title>My JSP 'userxx.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/style/css/amazeui.min.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/style/css/app.css">
<link
	href="${pageContext.request.contextPath}/style/css/bootstrap.min.css"
	rel="stylesheet">
<link
	href="${pageContext.request.contextPath}/style/layui/css/layui.css"
	rel="stylesheet">
<script src="${pageContext.request.contextPath}/style/js/jquery.min.js"></script>
<script
	src="${pageContext.request.contextPath}/style/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath}/style/js/amazeui.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/style/layui/layui.js"></script>
</head>

<body>
	<table class="layui-table">
		<colgroup>
			<col width="150">
			<col width="500">

		</colgroup>
		<tbody>
			<tr>
				<td>用户编号</td>
				<td>${user.userId }</td>
			</tr>
			<tr>
				<td>用户名</td>
				<td>${user.userName }</td>
			</tr>
			<tr>
				<td>用户状态</td>
				<c:if test="${user.userState==1 }">
					<td>正常</td>
				</c:if>
				<c:if test="${user.userState==0 }">
					<td>关闭</td>
				</c:if>
			</tr>
			<tr>
				<td>用户权限名称</td>
				<td><c:forEach var="list" items="${rolelist}">
				   &nbsp;${list.roleName }&nbsp; 
				</c:forEach></td>
			</tr>
			<tr>
				<td>上次登陆</td>
				<td>${user.lastVisit }</td>
			</tr>
		</tbody>
	</table>
</body>
</html>
